import NetWork from '@/service/_request.js'
class meteoroLiveDataApi {
  //地理位置(实况数据：根据经纬度、时间、类型查询laps)
  async get_tb_laps_findByCon(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/liveData/live/tb-Laps/post_tb-laps_findByCon',
      params
    )
  }

 
  async info_geo(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/liveData/live/tb-laps-info/post_tb-laps-info_geo',
      params
    )
  }
  async getthunder() {
    return NetWork.get('itg/dlqxfw/rds/analysis/censusTotal/tb_ldsj/area')
  }

  async findByLatAndLon(params) {
    return NetWork.post(
      'itg/dlqxfw/rds/liveData/live/tb-Skzdzs-24Jx/post_tb-skzdzs-jx_findByLatAndLon',
      params
    )
  }
  async getSite(params) {
    return NetWork.get(
      'itg/dlqxfw/rds/liveData/live/tb-stations/findByAlls',
      params
    )
  }
  async getzhandianmessage(params) {
    return NetWork.get(
      'itg/dlqxfw/rds/liveData/live/tb-Skzdzs-24Jx/findById',
      params
    )
  }
  //实况渲染
  async Liverendering(params) {
    return NetWork.post(
      '/itg/dlqxfw/rds/liveData/live/tb-laps-info/post_tb-laps-info_geoPicture',
      params
    )
  }
}
export default new meteoroLiveDataApi()
